package cn.szabadsag.hrm.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author yangcong
 * @date 2022年04月15日 12:51
 * @since
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChangePasswordParamsDTO {

    @NotEmpty(message = "手机号不能为空！")
    private String mobile;

    @NotEmpty(message = "旧密码不能为空！")
    private String old_password;

    @NotEmpty(message = "新密码不能为空！")
    private String new_password;

    @NotEmpty(message = "手机验证码不能为空！")
    private String smsCode;


}
